/**
 * Class:	UpdateActivityController
 * 
 * Variables:
 * 
 * 		accessibility type variableName;
 * 		(e.g. "private List<String> beneficiaries;")
 * 
 * Remarks:
 * 
 * 		Kindly list only only accessible variables:
 * 			> non-private variables ( public, protected,
 * 			  default )
 * 			> private variables with getters and/or
 * 			  setters 
 * 		
 * 		Variables are set to private and can be accessed
 * 		only through their getters and setters.
 * 
 * @author ( your name )
 * @version ( 2013-02-28 // YYYY-MM-DD )
 */

package controllers;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import models.CurriculumActivity;
import models.VolunteerActivity;
import views.activity.UpdateActivityFrame;

public class UpdateActivityController {
	
	/* Instance Variables */
	private UpdateActivityFrame updateActivityFrame;
	private VolunteerActivity volunteerActivity;
	private CurriculumActivity curriculumActivity;
	
	
	
	/**
	 * Constructors
	 */
	
	public UpdateActivityController( VolunteerActivity activity ) {
		this.volunteerActivity = activity;
		this.curriculumActivity = null;
		this.updateActivityFrame = new UpdateActivityFrame( "Volunteer" );
	}
	
	public UpdateActivityController( CurriculumActivity activity ) {
		this.curriculumActivity = activity;
		this.volunteerActivity = null;
		this.updateActivityFrame = new UpdateActivityFrame( "Curriculum" );
	}
	
	
	
	/**
	 * Setup for Volunteer Activity Update
	 *		- initializes the views and action listeners
	 *		  for updating volunteer activities
	 * 
	 * Parameter
	 *		- n/a
	 *	
	 * Returns
	 *		- n/a
	 */
	public void setupVolunteerActivityUpdate() {
		updateActivityFrame.updateVolunteerActivityView.btnCancel.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnClear.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnSave.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnUpdateBeneficiaryies.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnUpdateAdvisers.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnUpdateParticipants.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnUpdateRemarks.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnOrganizationEvaluation.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnAdviserEvaluation.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
		
		updateActivityFrame.updateVolunteerActivityView.btnBeneficiaryEvaluation.addActionListener( new ActionListener() {
			public void actionPerformed( ActionEvent event ) {
				
			}
		});
	}
	
	
	
	/**
	 * Setup for Curriculum Activity Update
	 *		- initializes the views and action listeners
	 *		  for updating curriculum activities
	 * 
	 * Parameter
	 *		- n/a
	 *	
	 * Returns
	 *		- n/a
	 */
	public void setupCurriculumActivityUpdate() {
		
	}
}
